//
//  ZZVipCell.m
//  QQplayground
//
//  Created by zhangxy on 2018/8/16.
//  Copyright © 2018年 zhang. All rights reserved.
//

#import "ZZVipCell.h"

@implementation ZZVipCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
    
    [_labTitle setFont:FontSeventeen];
    [_labTitle setTextColor:UIColorFromRGB(TextSizeOneColor)];
    
    [_labInstro setFont:FontFiftent];
    [_labInstro setTextColor:UIColorFromRGB(TextSizeEightColor)];
}

-(void)dataToView:(NSDictionary *) item{
    [_imgTag setImage:[UIImage imageNamed:item[@"icon"]]];
    [_labTitle setText:item[@"title"]];
    [_labInstro setText:item[@"desc"]];
}

- (void)setSelected:(BOOL)selected animated:(BOOL)animated {
    [super setSelected:selected animated:animated];

    // Configure the view for the selected state
}

@end
